/*
 * comlan
 */

package com.promfy.userinterface.bindservice.basicbindservice;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;

import com.promfy.R;

public class BasicBindServiceService extends Service {

	private final IBinder binder = new MyBinder();

	@Override
	public IBinder onBind(Intent intent) {
		return binder;
	}

	public class MyBinder extends Binder {
		BasicBindServiceService getService() {
			return BasicBindServiceService.this;
		}
		void destroyService(){
			onDestroy();
		}
	}

	@Override
	public void onDestroy() {
		// TODO Auto-generated method stub
		super.onDestroy();
	}
	
	

}
